package org.zhadoop.stream.cql.executor;

import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.zhadoop.stream.api.Application;
import org.zhadoop.stream.cql.hooks.ExecutorHook;

/**
 * 物理计划执行器
 * @author zwd
 *
 */
public class PhysicalPlanExecutor implements ExecutorHook{

	private static final Logger LOG = LoggerFactory.getLogger(PhysicalPlanExecutor.class);
	
	/**
	 * 1KB文件大小
	 */
	private static final long ONE_KB = 1024;
	
	private static final long ONE_MB = ONE_KB * ONE_KB;
	
    private ExecutorPlanGenerator generator = null;
    
    private ExecutorPlanChecker executorChecker = null;
    
    private List<ExecutorHook> executorHooks = null;
	
	@Override
	public void preExecute(Application physicPlanApplication) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void preSubmit(org.zhadoop.streaming.application.Application submitApplication) {
		// TODO Auto-generated method stub
		
	}
	
	public void execute(Application application){
		
	}

}
